//
//  MYLoginBaseBtnCell.swift
//  MuYing
//
//  Created by tbb on 2019/7/19.
//  Copyright © 2019 TBB. All rights reserved.
//

import UIKit

class MYLoginBaseBtnCell: YQTableViewBaseCell {
    
    @objc lazy var loginBtn: QMUIButton = {
        let loginBtn = QMUIButton(type: .custom);
        loginBtn.layer.borderColor = UIColorFromHex(rgbValue: 0x79C4C7).cgColor;
        loginBtn.layer.borderWidth = 1.0;
        loginBtn.layer.cornerRadius = 22;
        loginBtn.setTitle(kYQLSSwift("注册"), for: .normal);
        return loginBtn
    }()
    
    override func layoutSubviews() {
        super.layoutSubviews();
        self.contentView.addSubview(self.loginBtn);
        self.loginBtn.mas_makeConstraints { (make) in
//            make?.center.mas_equalTo()(0);
            make?.bottom.mas_equalTo()(-12);
            make?.left.mas_equalTo()(30);
            make?.right.mas_equalTo()(-30);
            make?.height.mas_equalTo()(44);
        }
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
